package com.freelancer.musicinstruction.services.impl.youtube;

import org.xml.sax.helpers.DefaultHandler;
import org.xml.sax.SAXParseException;

import android.util.Log;

public class YoutubeFeedErrorHandler extends DefaultHandler
{

	private static final String TAG = YoutubeFeedErrorHandler.class.getSimpleName();
	
    public YoutubeFeedErrorHandler ()
    {
	    super();
    }

    public void error (SAXParseException e) {
        Log.d(TAG, "Error: "+e.getMessage());
    }

    public void fatalError (SAXParseException e) {
    	Log.d(TAG, "Fatal Error: "+e.getMessage());
    }

    public void warning (SAXParseException e) {
    	Log.d(TAG, "Warning: "+e.getMessage());
    }

}
